package com.mobile.persistent.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mobile.persistent.base.BaseEntity;

/**
 * @author qingqiu
 * 商品单位
 */
@Entity
@Table(name="goodsUnit")
@org.hibernate.annotations.Entity(dynamicInsert=true, dynamicUpdate=true)
public class GoodsUnit extends BaseEntity {

	private static final long serialVersionUID = 1L;
	/**
	 * 单位(数量)名称
	 */
	private String unitName;
	/**
	 * 备注
	 */
	private String remark;
	@Column(name="unitName", columnDefinition="varchar(5)", nullable=false)
	public String getUnitName() {
		return unitName;
	}
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	@Column(name="remark", columnDefinition="varchar(200)")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
